//
//  THUserDataController.h
//  TreeHole
//
//  Created by apple on 2020/7/28.
//  Copyright © 2020 stoneobs. All rights reserved.
//

#import "STTools_DataController.h"
#import "THUserModel.h"
#import "THAddressModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface THUserDataController : STTools_DataController
//获取验证码
+ (void)stoneobs_fun_send_get_code_request_phone:(NSString*)phone handle:(STTools_DataController_stoneobs_handle)handle;

//查询用户信息不传id则为自己
+ (void)stoneobs_fun_send_get_user_ifno_request_id:(NSString*)user_id handle:(void(^)(THUserModel * user))handle;
//修改用户信息 name password header_img sex superior_uuid  phone birthday(后台暂无) code(传入手机号码时必传)
+ (void)stoneobs_fun_send_change_user_info_request_key:(NSString*)key value:(NSString*)value handle:(STTools_DataController_stoneobs_handle)handle;
//更新地址
+ (void)updatePlace:(NSString*)lat lng:(NSString*)lng handle:(STTools_DataController_stoneobs_handle)handle;
//获取默认地址
+ (void)stoneobs_fun_send_get_user_defult_address_handle:(void(^)(THAddressModel * model))handle;
@end

NS_ASSUME_NONNULL_END
